﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using AvansRS.Domain;

namespace AvansRS.Data.InsertBuilders
{
    class InsertTimeBlock : Insert<TimeBlock>
    {
        public InsertTimeBlock() : base(new TimeBlock())
        {}

        public InsertTimeBlock WithStartTime(DateTime startTime)
        {
            Instance.StartTime = startTime;
            return this;
        }

        public InsertTimeBlock WithEndTime(DateTime endTime)
        {
            Instance.EndTime = endTime;
            return this;
        }

        public InsertTimeBlock WithDescription(string description)
        {
            Instance.Description = description;
            return this;
        }
    }
}
